Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx a bug for a non-simdlib code of ResidualQuantizer #3868

Conversation

alexanderguzhva
Copy link
Contributor

This causes an access violation error.

The reason why this was not caught in unit tests for AVX/NEON is that this code branch is unlikely to be used.

The reason why this was not caught in unit tests for a plain non-SIMD binary is unclear.

More ResidualQuantizer patches to follow.

Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
@facebook-github-bot
Copy link
Contributor

@mnorris11 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mnorris11 merged this pull request in 317bd00.

@mnorris11
Copy link

mnorris11 commented Sep 17, 2024

Thanks for finding it and for the fix!

aalekhpatel07 pushed a commit to aalekhpatel07/faiss that referenced this pull request Oct 17, 2024
…ch#3868)

Summary:
This causes an access violation error.

The reason why this was not caught in unit tests for AVX/NEON is that this code branch is unlikely to be used.

The reason why this was not caught in unit tests for a plain non-SIMD binary is unclear.

More ResidualQuantizer patches to follow.

Pull Request resolved: facebookresearch#3868

Reviewed By: mengdilin

Differential Revision: D62882531

Pulled By: mnorris11

fbshipit-source-id: fc50c7409d6064605f783c342b0d313145ffe948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants